package goods;

public class Goods {
	// 商品名
	private String name;
	// 商品类型
	private String type;
	// 单价
	private int price;
	// 数量
	private int count;
	public Goods() {
		super();
	}
	public Goods(String name, String type, int price, int count) {
		super();
		this.name = name;
		this.type = type;
		this.price = price;
		this.count = count;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public int getPrice() {
		return price;
	}
	public void setPrice(int price) {
		this.price = price;
	}
	public int getCount() {
		return count;
	}
	public void setCount(int count) {
		this.count = count;
	}
	@Override
	public String toString() {
		return "Goods [name=" + name + ", type=" + type + ", price=" + price + ", count=" + count + "]";
	}
}
